package com.xinqi.modules.databank.v1.mapper;

import com.xinqi.common.mybatis.data.repo.SuperMapper;
import com.xinqi.modules.databank.v1.domain.CourseInteractionSubmitEntity;
import com.xinqi.modules.databank.dto.req.InteractionSubmitQueryDTO;
import com.xinqi.modules.databank.dto.rsp.CourseInteractionSubmitResult;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 答题提交记录表数据层
 * @author: system
 * @date: 2023/03/15
 */
@Mapper
public interface CourseInteractionSubmitMapper extends SuperMapper<CourseInteractionSubmitEntity> {

    /**
     * 获取学生旧数据答题记录
     * @author dzy
     */
    List<CourseInteractionSubmitResult> studentAnswerList(InteractionSubmitQueryDTO dto);

}
